package com.situ.meetingRoom.dao;

import com.situ.meetingRoom.entity.Boardroom;
import com.situ.meetingRoom.util.PageInfo;
import com.situ.meetingRoom.vo.BoardroomVO;

import java.util.List;

public interface BoardroomDao {
    List<BoardroomVO> selectAll(Boardroom boardroom);

    int insert(Boardroom boardroom);

    Boardroom selectById(Integer id);

    int update(Boardroom boardroom);

    PageInfo selectForPage(Integer page, Integer limit, Boardroom boardroom);

    Boardroom selectByName(String name);


}
